const express=require('express');
const router=express.Router();

router.get('/student',(req,res)=>{
    let id=req.query.id;
    res.sendFile(__dirname+'/data/'+id+'.json');
});
module.exports=router;